<template class="container">
    <div draggable=true style="position: absolute; left: 0px; top: 0px; width: 100%; height: 100%; background: url(Texture/Aries/Creator/keepwork/Window/dakuang_32bits.png#0 0 440 93:378 43 33 44);">
        <WindowTitleBar title="测试"></WindowTitleBar>
        <qrcode style="margin: 20px; color: #00ff00; background-color: #cccccc; border-radius: 30px;" v-bind:url=url></qrcode>
        <div onclick=click>btn</div>
    </div>
</template>

<script type="text/lua">
RegisterComponent("WindowTitleBar", "%vue%/Components/WindowTitleBar.html");

url = "ParaCraft";

local count = 1;
function click()
    count = count + 1;
    url = "ParaCraft" .. count;
end

function OnReady()
end
</script>

<style>
.container {
    height: 500px; 
    width: 600px; 
    padding: 0px 2px 2px 2px;
    /* border: 1px solid #ffffff; */
}
</style>